<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		$("#index-list-box").loadUrl("${base}/adver!list.action", {
			"adver.id" : "${empty adver.id?'':adver.id}"
		}, function() {
			$("#index-list-box").find("[layoutH]").layoutH();
		});
	});
</script>
<style type="text/css">
ul.leftTools {
	float: left;
	display: block;
}

ul.leftTools li {
	float: left;
	display: block;
	margin-left: 5px
}
</style>
<div class="pageContent" style="padding: 5px">
	<div class="panel" defH="40">
		<h1>首页管理</h1>
		<div>
			<ul class="leftTools">
				<li><a class="button" target="ajaxTodo"
					href="${base }/index!page.action"><span>首页静态化</span></a></li>
			</ul>
			<ul class="leftTools">
				<li><a class="button" target="ajaxTodo"
					href="${base }/index!createSiteMap.action"><span>生成站点地图</span></a></li>
			</ul>
		</div>
	</div>
	<div class="divider"></div>
	<div class="tabs">
		<div class="tabsHeader">
			<div class="tabsHeaderContent">
				<ul>
					<li><a href="javascript:;"><span>类型</span></a></li>
				</ul>
			</div>
		</div>
		<div class="tabsContent">
			<div>
				<div layoutH="146"
					style="float: left; display: block; overflow: auto; width: 240px; border: solid 1px #CCC; line-height: 21px; background: #fff">
					<ul class="tree treeFolder">
						<li><a href="${base }/adver!list.action" target="ajax"
							rel="index-list-box">广告</a></li>
						<li><a href="${base }/recommend!list.action" target="ajax"
							rel="index-list-box">推荐</a></li>
						<li><a href="${base }/popular_cate!list.action" target="ajax"
							rel="index-list-box">分类</a></li>
					</ul>
				</div>
				<div id="index-list-box" class="unitBox" style="margin-left: 246px;">
				</div>
			</div>
		</div>
		<div class="tabsFooter">
			<div class="tabsFooterContent"></div>
		</div>
	</div>
</div>